#ifndef ALLDATA_H
#define ALLDATA_H

#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
#include <QJsonParseError>
#include "diseasedata.h"
#include "qcustomplot.h"

class AllData
{
public:
    AllData();
    QJsonObject data;
    QJsonObject chinaTotal;
    QJsonValue chinaDayList;
    QJsonObject today;
    QJsonObject total;
    QJsonObject extData;
    QJsonValue areaTree;
    DiseaseData bannerData;
    QJsonArray chinaDayListArr;
    QJsonArray areaArr;
    QJsonValue china;
    QJsonArray chinaArr;

    QVector<QString> date;

    QVector<double> dateArr;
    QVector<double> totalConfirmArr;
    QVector<double> storeConfirmArr;
    QVector<double> todayConfirmArr;
    QVector<double> totalDeadArr;
    QVector<double> totalHealArr;
    QVector<DiseaseData> worldData;
    QVector<DiseaseData> chinaData;


};

#endif // ALLDATA_H
